Toggle Business Status
PUT /api/v1/businesses/{businessId}/status/toggle
Description
Toggle the status of a business.
Path Parameters
| Name | Type | Description |
|---|---|---|
businessId | string | The ID of the business (path) |
Request Body
- Content Type:
application/json
{
"comment": "string",
"actionBy": "string"
}
Response Code: 200 - OK
Description
Status toggled successfully.
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
Body
{
"comment": "Review completed",
"actionBy": "admin123"
}
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /api/v1/businesses/{businessId}/status/toggle \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!